package cn.crm.service;

import cn.crm.dao.UserMapper;
import cn.crm.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public User login(String user_code, String user_password) {
        return userMapper.login(user_code,user_password);
    }
}
